﻿using System.Threading;
using AOPDemo.Aspects;
using AOPDemo.Interfaces;
using AuthToken = AOPDemo.Domain.AuthToken;

namespace AOPDemo.Services
{
    public class WebAuditService : IAuditService
    {
        #region Implementation of IAuditService

        [AsyncMethod]
        public void RecordTransaction(AuthToken authToken, string auditData)
        {
            Thread.Sleep(2000);
        }

        #endregion
    }
}